package com.github.iot.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;

/**
 * TODO
 *
 * @Author: 梁声洪
 * @Date: 2019/12/23 21:04
 * @Version: v1.0.0
 */
@Entity
public class SystemSetting {

    /**
     * 主键ID
     */
    @Id(autoincrement = true)
    private Long id;

    /**
     * 展柜ID
     */
    @NotNull
    private String name;

    @Generated(hash = 1957247768)
    public SystemSetting(Long id, @NotNull String name) {
        this.id = id;
        this.name = name;
    }

    @Generated(hash = 1428461116)
    public SystemSetting() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
}